﻿//  Copyright (c) 2011 Ray Liang (http://www.dotnetage.com)
//  Licensed MIT: http://www.opensource.org/licenses/mit-license.php

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DNA.Mvc.Publishing
{
    public interface ITranslatedCopyRepository:IRepository<TranslatedCopy>
    {
        /// <summary>
        /// Get the TranslatedCopy object specified the article id and language.
        /// </summary>
        /// <param name="articleID">The article id.</param>
        /// <param name="lang">The language of article.</param>
        /// <returns>The TranslatedCopy object.</returns>
        TranslatedCopy Find(int articleID, string lang);
    }
}
